Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer installation as a dev-dependency #2511

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

sigurdm
Copy link
Contributor

@sigurdm sigurdm commented Oct 22, 2024

Fixes #2497

Removes the version checks of pubspec.lock. These now come "for free" by virtue of the pub version solver.

@sigurdm sigurdm requested a review from bkonyi November 19, 2024 13:57
@sigurdm sigurdm closed this Nov 19, 2024
@sigurdm sigurdm reopened this Nov 19, 2024
@sigurdm sigurdm requested a review from jonasfj November 19, 2024 14:01
Copy link
Collaborator

@bkonyi bkonyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this remove the build_runner and build_web_compilers dependency checks? That makes me nervous since we'll still have the majority of users running dart pub global activate webdev to install webdev out of habit or based on tutorials. How will the globally activated webdev flow fail now if these dependencies aren't present?

If we can detect whether or not webdev has been installed as a dev dependency or a global package, can we keep these checks?


dependency_overrides:
dwds:
path: ../dwds
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: this needs a trailing newline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suggest use as a dev_dependency instead of global install
2 participants